Don't Trash your Intermediate Results, Cache 'em
نویسندگان
چکیده
In data warehouse and data mart systems, queries often take a long time to execute due to their complex nature. Query response times can be greatly improved by caching final/intermediate results of previous queries, and using them to answer later queries. An automatic caching system that makes intelligent decisions on what results to cache would be an important step towards knobs-free operation of a database system, essentially a step towards a database system that auto-tunes itself. In this paper we describe an automatic query caching system called Exchequer which is closely coupled with the optimizer to ensure that the caching system and the optimizer make mutually consistent decisions. In contrast, in existing work, such a close coupling is absent. We present a cache management/replacement algorithm which we call Incremental. Furthermore, existing approaches are either restricted to cube (slice/point) queries, or to caching just the final query results. On the other hand, our work is extensible and in fact presents a data-model independent framework and algorithm. Our experimental results attest to the efficacy of our cache management techniques and show that over a wide range of parameters (a) Exchequer’s query response times are lower by more than 30% compared to the best performing competitor, and (b) Exchequer can deliver the same response time as its competitor with just one tenth of the cache size.
منابع مشابه
The recycling solution: how I increased recycling on dilworth road.
When we throw out our trash it is burned in an incinerator or buried in a landfill. If we burn our trash, it pollutes the air. If we bury it, it fills up our landfills and gets out of hand. But ifwe recycle things, it will not pollute anything and we can use it over again. By recycling we also save money. Our county has a recycling program. Every Friday, you have a chance to put out your trash ...
متن کاملWeb Protocols and Practice - HTTP/1.1, Networking Protocols, Caching, and Traffic Measurement
Spend your few moment to read a book even only few pages. Reading book is not obligation and force for everybody. When you don't want to read, you can get punishment from the publisher. Read a book becomes a choice of your different characteristics. Many people with reading habit will always be enjoyable to read, or on the contrary. For some reasons, this web protocols and practice http 1 1 net...
متن کاملImproving Replacement Decisions in Set-Associative Caches
Cache replacement policies play a key role in determining hit rates in set-associative caches. Cache replacement algorithms use runtime trace history and most a least recently used (LRU) policy, and neither programmers nor compilers can explicitly control cache replacement. This paper describes a novel mechanism to improve cache replacement decisions without the hardware costs of higher set-ass...
متن کاملSelecting the Proper Pump
will fit your needs, you must know four things: 1) the total head or pressure against which it must operate, 2) the desired flow rate, 3) the suction lift, and 4) characteristics of the fluid. Aquaculture operations imply that you will be pumping water, but you also need to know such things as the temperature range, the corrosiveness (is it salty water?), and how much and what kind of trash or ...
متن کاملInstruction-Level Execution Migration
We introduce the Execution Migration Machine (EM), a novel data-centric multicore memory system architecture based on computation migration. Unlike traditional distributed memory multicores, which rely on complex cache coherence protocols to move the data to the core where the computation is taking place, our scheme always moves the computation to the core where the data resides. By doing away ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره cs.DB/0003005 شماره
صفحات -
تاریخ انتشار 1999